Skip to content

QueryResultTypeWalker: fix nullability checks over unknown type #584

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 25, 2024

Conversation

janedbal
Copy link
Contributor

@janedbal janedbal commented Jun 25, 2024

Separated from #506

Without this fix, the new testcase fails to add nullability and the inferred type does not accept the real result (invalid type was inferred). More mixed tests with all possible AST nodes is in the origin PR.

@janedbal janedbal force-pushed the fix-nullable-mixed branch from 37059c3 to fdbbb63 Compare June 25, 2024 12:03
@janedbal janedbal force-pushed the fix-nullable-mixed branch from fdbbb63 to 7dc5de6 Compare June 25, 2024 12:03
@ondrejmirtes ondrejmirtes merged commit ad91388 into phpstan:1.4.x Jun 25, 2024
36 checks passed
@ondrejmirtes
Copy link
Member

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants